Toward a Code-Clone Search through the Entire Lifecycle of a Software Product
نویسنده
چکیده
This paper presents a clone-detection method/tool currently under development. This tool is useful as a code-clone search through the entire lifecycle of a software product; The tool searches code examples and analyzes of code clones in both preventive and postmortem ways[LRHK10]. The approach is based on a sequence equivalence on execution paths[Kam13] and extends the equivalence to include gaps, thus type-3[BKA+07] clone detection. Each of the detected clones is a sub-sequence of an execution path of a given program, in other words, a set of code fragments of multiple procedures (methods) which can be executed in a run of the program. The approach is relaxed in terms of adaptability to incomplete (not-yetfinished) code, but also makes use of concrete information such as types (including hierarchy) and dynamic dispatch when such information is available.
منابع مشابه
Analysis and removal of code clones in software product lines
Software maintenance is the main driver of total costs in the lifecycle of long-living software systems. Code clones, that is, the replication of code fragments across the system, decrease maintainability: It increases the code size and hinders manual code change, inspection, and analysis. Intensive research has been spent in the last two decades to determine the nature of clones, specifically ...
متن کاملSub-clones: Considering the Part Rather than the Whole
Researchers have proposed various automated clone detection tools that can assist programmers in finding code clones (i.e., duplicated sections of code). Such tools can serve as input into the process of clone removal through refactoring activities. In this paper, we consider the scenario in which an automated clone detection tool was used to find code clones as part of the clone refactoring pr...
متن کاملToward Efficient Code Clone Detection on Grid Environment
Code clone detection technique originally was developed for investigating duplicated code in a single software system or between two or three ones. If it can be applied to a large amount set of software systems, we should identify useful duplicate in it. This paper describes how we are going to scale up code clone detection technique for handling many software systems.
متن کاملBusiness Rule Based Software System Configuration Management and Implementation Using Decision Tables
Deployment and customization of the software in different information systems of separate organizations challenge large requirement conformity, project and specification management, design and architecture complexity, code integration, compatibility and interoperability issues, frequently causing the need of reengineering through the entire all the system development lifecycle. The paper propos...
متن کاملCode Clone Detection Using Function Based Similarities and Metrics
ode cloning is a process of coping and pasting of code fragment with or without minor alteration like renaming, addition and deletion to the code fragments in the software. The copied and pasted code fragments are known as code clones. Code cloning reduces the time and effort of the software developer but it also decreases the quality of the software like readability, changeability and increase...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- ECEASST
دوره 63 شماره
صفحات -
تاریخ انتشار 2014